<div class="msgbox">
<ul>
<!--{loop $arrMessage $key $item}-->
<li <!--{if $item[userid] == $TS_USER[user][userid]}-->class="mysend"<!--{/if}-->>
<!--{if $item[userid]==$TS_USER[user][userid]}--><span style="color:#006efe;">{$item[user][username]} {php echo date('Y-m-d H:i:s',$item[addtime])}</span><!--{else}--><span style="color:#42b475;">{$item[user][username]} {php echo date('Y-m-d H:i:s',$item[addtime])}</span>{/if}
<br />
{$item[content]}
</li>
<!--{/loop}-->
</ul>
</div>